/*! \file IndexBuffer.inl
 *	\brief 
 *
 *	created:	2010/12/12
 *	created:	12:12:2010   20:46
 *	filename: 	C:\src\tactics-engine\libs\gd\IndexBuffer.inl
 *	file path:	C:\src\tactics-engine\libs\gd
 *	file base:	IndexBuffer
 *	file ext:	inl
 *	author:		Vitalii Trubchaninov
 *				venngraydog@gmail.com
 */

namespace tt{
namespace gd{

inline
IndexBuffer::IndexBuffer(ScopedPtr<BufferImpl>& impl)
: Buffer(impl)
{

}

inline
IndexBuffer::~IndexBuffer()
{

}

inline
UInt IndexBuffer::indicesCount() const
{
	return size() / sizeof(UInt32);
}

} //namespace gd
} //namespace tt